package team.zero.lemon.module.sys.dao;

import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.module.sys.entity.Organization;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by bolin on 2015/5/27.
 */
@MyBatisDao
public interface IOrgDao extends ICrudDao<Organization> {
    List<Organization> findAllOrgUser();
    public int deleteAll();
    public List<Organization> findPortInfo();

    public List<Organization> findPortAndWarehouse();

    public List<Organization> findWarehouse();
}
